package com.sumc.spring.cloud.eureka.one.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @describe：
 * @author: Smc
 * @version:v1.0 2020/3/20 14:18   Try to write good code
 */
@RestController
public class EurekaController {

    @GetMapping("say")
    public String sayHello(){
        System.out.println("这是提供者2");
        //int i = 10/0;
        return "hello   这是提供者  2";
    }
}
